/*
 * Copyright (c) 2006-2020, RT-Thread Development Team
 *
 * SPDX-License-Identifier: Apache-2.0
 *
 * Change Logs:
 * Date           Author       Notes
 * 2020-05-21     chenhy       the first version
 */
#ifndef APPLICATIONS_FRAM_MAP_H_
#define APPLICATIONS_FRAM_MAP_H_

#define FRAM_ADDR_START           0x0000
#define FRAM_TOTAL_SIZE           0x2000
#define FRAM_ADDR_END             FRAM_ADDR_START+FRAM_TOTAL_SIZE

#define CONTACT_ADDRESS           FRAM_ADDR_START
#define CONTACT_ADDRESS_SIZE      6
#define MANAGEMENT_CODE           CONTACT_ADDRESS+CONTACT_ADDRESS_SIZE
#define MANAGEMENT_CODE_SIZE      32
#define HARDWARE_VERSION          MANAGEMENT_CODE+MANAGEMENT_CODE_SIZE
#define HARDWARE_VERSION_SIZE     32

#endif /* APPLICATIONS_FRAM_MAP_H_ */
